﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Might.Infrastructure.Services {
    
    public delegate void ModalDialogEventHandler(
        IModalDialog sender,
        ModalDialogResult e
    );        
    
    public enum ModalDialogButtons {
        OK,
        OKCancel,
        AbortRetryIgnore,
        YesNoCancel,
        YesNo,
        RetryCancel
    }
    
    public enum ModalDialogResult {
        OK,
        Cancel,
        Abort,
        Retry,
        Ignore,
        Yes,
        No
    }  

    public interface IModalDialog {
    
        event ModalDialogEventHandler Closed;        
        void Show( string caption , string message , ModalDialogButtons buttons );                

    }
}
